//
// Created by xili on 2024/8/11 下午7:19.
// Go big or go home.
//
#include "leetcode.h"

class Solution {
public:
    vector<int> countNumbers(int cnt) {
        int max = 1;
        while (cnt--) {
            max *= 10;
        }
        vector<int> ans;
        for (int i = 1; i < max; i++) {
            ans.push_back(i);
        }
        return ans;
    }
};